﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    assembly="SAKS.Models"
    namespace="SAKS.Models">
  <class name="ConferenceReportInfo" lazy="false">
    <id name="Id">
      <generator class ="guid.comb" />
    </id>
    <version name="Version" />
    <property name="ConferenceName" not-null="true"/>
    <property name="ConferenceDate" />
    <property name="ConferencePlace" />
    <property name="ReportName" not-null="true"/>
    <property name="SpecializedField"/>
    <property name="ReportWriter"/>
    <property name="ReportChecker"/>
    <property name="ReportApprovePerson"/>
    <property name="ReportSummary"/>
    <property name="ArchivedDate"/>
    <property name="Remarks"/>
    <property name="ProjectId"/>
    <property name="AchievementId"/>
    <property name="CreatedDate"/>
    <property name="FileId"/>
    
    <many-to-one name="ReportFile" class="SAKS.Models.ConferenceReportFile,SAKS.Models" cascade="all-delete-orphan"
             lazy="proxy" column="ReportFileId" unique="true" />
 </class>

</hibernate-mapping>